package com.pxmeta.party.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class GiftLotteryVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("宝箱id")
    private Integer giftId;

    @ApiModelProperty("奖励id")
    private Integer rewardGiftId;

    @ApiModelProperty("概率")
    private BigDecimal probability;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("价格")
    private Integer price;

    @ApiModelProperty("素材链接")
    private String materialUrl;

    @ApiModelProperty(value = "每期数量")
    private Integer count;

    @ApiModelProperty(value = "剩余数量")
    private Integer remainingQuantity;

    @ApiModelProperty(value = "抽中触发条件")
    private Integer conditionCount;

}
